import { Injectable } from '@nestjs/common';
import { AuthGuard } from '@nestjs/passport';

// JWT认证守卫，继承自Passport的AuthGuard
// 'jwt'对应我们在auth.module.ts中配置的defaultStrategy
@Injectable()
export class JwtAuthGuard extends AuthGuard('jwt') {}
